package com.hxzy.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.entity.system.SysPost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysPostMapper extends BaseMapper<SysPost> {

    @Select(value = "select id,post_code,post_name,post_sort,status,remark from sys_post where id=#{id}")
    SysPost findbyId(Long postId);
}